package com.tanhua.dubbo.api;

import com.tanhua.model.domain.User;
import com.tanhua.model.domain.UserInfo;

import java.util.List;
import java.util.Map;

public interface UserApi {
    //根据手机号码查询用户
    User findByMobile(String mobile);

    Long save(User user);

    void update(User user);

    List<User> findAll();

    User findById(Long userId);

    User findByHuanxin(String huanxinId);

}
